    </div><!-- /.container -->
    
    <footer class="bg-light py-4 mt-5">
        <div class="container">
            <div class="row">
                <div class="col-md-6">
                    <p class="mb-0">KidsMind管理后台 &copy; <?php echo date('Y'); ?></p>
                </div>
                <div class="col-md-6 text-md-end">
                    <p class="mb-0">版本 1.0</p>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript依赖 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js@3.9.1/dist/chart.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    <script>
        // 确保js文件加载，否则内联简单功能
        document.addEventListener('DOMContentLoaded', function() {
            // 启用工具提示
            var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
            var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
                return new bootstrap.Tooltip(tooltipTriggerEl);
            });
            
            // 启用弹出框
            var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
            var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
                return new bootstrap.Popover(popoverTriggerEl);
            });
            
            // 确认删除操作
            document.querySelectorAll('.btn-delete').forEach(function(btn) {
                btn.addEventListener('click', function(e) {
                    if (!confirm('确定要删除吗？此操作不可撤销。')) {
                        e.preventDefault();
                    }
                });
            });
        });
    </script>
    <script src="js/admin.js"></script>
</body>
</html> 